package com.zhanghe.im.response;

import com.zhanghe.im.protocol.command.Command;
import com.zhanghe.im.protocol.command.Packet;
import lombok.Data;

/**
 * LoginResponsePacket
 *
 * @author Clevo
 * @date 2018/10/19
 */
@Data
public class LoginResponsePacket extends Packet {

    public Byte version;

    public Boolean success;

    public String userId;

    public String userName;

    public String Reason;

    @Override
    public Byte getCommand() {
        return Command.LOGIN_RESPONSE;
    }
}
